package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 健身房会员对象 gym_member
 * 
 * @author ruoyi
 * @date 2024-04-22
 */
public class GymMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员号 */
    private Long memberId;

    /** 会员名 */
    @Excel(name = "会员名")
    private String memberName;

    /** 性别 */
    @Excel(name = "性别")
    private String memberSex;

    public GymCoach getCoach() {
        return coach;
    }

    public void setCoach(GymCoach coach) {
        this.coach = coach;
    }

    public GymRegion getRegion() {
        return region;
    }

    public void setRegion(GymRegion region) {
        this.region = region;
    }

    /** 会员手机号 */
    @Excel(name = "会员手机号")
    private String memberIphone;

    /** 教练 */
    @Excel(name = "教练")
    private Long coachId;

    private GymCoach coach;

    /** 地区 */
    @Excel(name = "地区")
    private Long regionId;

    private GymRegion region;

    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setMemberName(String memberName) 
    {
        this.memberName = memberName;
    }

    public String getMemberName() 
    {
        return memberName;
    }
    public void setMemberSex(String memberSex) 
    {
        this.memberSex = memberSex;
    }

    public String getMemberSex() 
    {
        return memberSex;
    }
    public void setMemberIphone(String memberIphone) 
    {
        this.memberIphone = memberIphone;
    }

    public String getMemberIphone() 
    {
        return memberIphone;
    }
    public void setCoachId(Long coachId) 
    {
        this.coachId = coachId;
    }

    public Long getCoachId() 
    {
        return coachId;
    }
    public void setRegionId(Long regionId) 
    {
        this.regionId = regionId;
    }

    public Long getRegionId() 
    {
        return regionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("memberId", getMemberId())
            .append("memberName", getMemberName())
            .append("memberSex", getMemberSex())
            .append("memberIphone", getMemberIphone())
            .append("coachId", getCoachId())
            .append("regionId", getRegionId())
            .toString();
    }
}
